<?php

class field_file extends field_base {


  /**
   * render element to html with no format
   */
  public function to_html() {
    $this->_attrs['type'] = 'file';
    return sprintf('<input %s/>', $this->join_attrs());
  }

}